﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Centny.PdfReader.IO;
namespace Centny.PdfReader.Types
{
    public class PdfReference : PdfClass
    {
        public PdfReference()
        {

        }
        public PdfReference(long num, long modifyTimes, String type)
        {
            this.Num = num;
            this.ModifyTimes = modifyTimes;
            this.Type = type;
        }
        public long Num { get; set; }
        public long ModifyTimes { get; set; }
        public String Type { get; set; }
        public override int GetHashCode()
        {
            return this.Num.GetHashCode();
        }
        public override bool Equals(object obj)
        {
            PdfReference other = obj as PdfReference;
            if (other == null)
            {
                return false;
            }
            return this.Num == other.Num;
        }
    }
}
